package com.softeem.service.impl;

import com.softeem.domain.Comment;
import com.softeem.domain.vo.CommentVO;
import com.softeem.mapper.CommentMapper;
import com.softeem.service.ICommentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2022-07-01
 */
@Service
public class CommentServiceImpl extends ServiceImpl<CommentMapper, Comment> implements ICommentService {

    @Autowired
    CommentMapper mapper;

    @Override
    public List<CommentVO> findAllComment() {
        return mapper.findAllComment();
    }
}
